package com.ruoyi.oss.domain.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@RequiredArgsConstructor
public class SysOssDownloadRecordsVo implements Serializable {

    private static final long serialVersionUID = 7580225257888014840L;

    private Long id;

    private Long sysOssId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date downloadTime;

    private Long userId;

    private String ipAddress;

    private String userAgent;

    private String originalName;

    private String userName;

    private String userNickName;

}
